<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<meta name="description" content="Admin Controler" />
		<meta name="author" content="Yuki" />		
		<link rel="stylesheet" href="/admin/themes/default/style.css" type="text/css" media="screen" />
		<script type="text/javascript" src="/component/js_lib/jquery-1.7.2.min.js"></script>
		<script src="/component/editors/tiny_mce/tiny_mce_popup.js" type="text/javascript"><!--mce:0--></script>

		<!-- Add jQuery library -->
		<title>图片上传-${DATA.blog.title}</title>
	</head>

<body>

<div id="nav">
		<div class="buttons">
				<a href="/admin/image/list" class="button big">列表</a>
		</div>
</div>



%if DATA.form!=None:
<form method="post" enctype="multipart/form-data" action="/admin/image/upload/submit">
	<table summary="上传图片">
			<caption>表单列表</caption>
		<thead>
			<tr class="odd">
				<th scope="col" abbr="Article ID">字段</th>
				<th scope="col" abbr="Article Title">表单</th>	
				<th scope="col" abbr="Article Action">提示</th>
			</tr>
		</thead>
			<tr class="odd">
				<th><label>${DATA.form.photoFile.description}</label></th>
				<td>${DATA.form.photoFile.render()}</td>
				<td><strong class="wrong">*</strong>
					${DATA.form.photoFile.renderNote()}
				</td>
			</tr>
			<tr class="odd">
				<th> </th>
				<td>${DATA.form.photoSubmit.render()}</td>
				<td> </td>
			</tr>
	</table>
</form>
%endif


<div id="nav">
	<div class="buttons">
					<a href="/admin/image/oauth/cancle" class="button big">取消授权</a>
	</div>
</div>

</body>
</html>